package com.boat.starter.xxljob.props;

import org.springframework.boot.context.properties.NestedConfigurationProperty;

import lombok.Data;

/**
 * xxl-job配置
 *
 * @author 周江
 */
@Data
public class XxlJobProperties {

	@NestedConfigurationProperty
	private XxlAdminProperties admin = new XxlAdminProperties();

	@NestedConfigurationProperty
	private XxlExecutorProperties executor = new XxlExecutorProperties();

    private String accessToken;
}
